package Assignment.Test6;

public class Test {
    public static void main(String[] args) {
        Dog dog = new Dog(2,"白色","狗");
        Cat cat = new Cat(3,"黑色","猫");

        Person person = new Person("wh",24);

        person.KeepPet(dog,"骨头");
        person.KeepPet(cat,"小鱼干");
    }
}
